import request from '@/utils/request'

// 查询员工考核计划----Dmy列表
export function assessJoinType(query) {
  return request({
    url: '/assessmentjoinType',
    method: 'get',
    params: query
  })
}
export function getDept(query) {
  return request({
    url: '/dept',
    method: 'get',
    params: query
  })
}


export function addmidPlanAssess(query) {
  return request({
    url: '/midPlanAssess/add',
    method: 'post',
    data: query
  })
}

export function updatePlanAssess(data) {
  return request({
    url: '/system/plan',
    method: 'put',
    data: data
  })
}

export function delPlanAssess(id) {
  return request({
    url: '/midPlanAssess/' + id,
    method: 'delete'
  })
}